package com.qcby.llmtchstd.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.time.LocalDateTime;

public class ErrorNote {
    @Expose // 配合GsonUtils的excludeFieldsWithoutExposeAnnotation()配置
    private int studentId;

    @Expose
    @SerializedName("questionContent") // 映射JSON中的questionContent
    private String question;

    @Expose
    private int examId;

    @Expose
    private String examName;
    @Expose
    private LocalDateTime createTime;
    @Expose
    private String correctAnswer;

    @Expose
    @SerializedName("yourAnswer") // 映射JSON中的yourAnswer
    private String answer;

    @Expose
    private String options;

    @Expose
    private String reason;

    @Expose
    private String questionType;

    @Expose
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public int getExamId() {
        return examId;
    }

    public void setExamId(int examId) {
        this.examId = examId;
    }

    public String getCorrectAnswer() {
        return correctAnswer;
    }

    public void setCorrectAnswer(String correctAnswer) {
        this.correctAnswer = correctAnswer;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return "ErrorNote{" +
                "studentId=" + studentId +
                ", question='" + question + '\'' +
                ", examId=" + examId +
                ", examName='" + examName + '\'' +
                ", createTime=" + createTime +
                ", correctAnswer='" + correctAnswer + '\'' +
                ", answer='" + answer + '\'' +
                ", options='" + options + '\'' +
                ", reason='" + reason + '\'' +
                ", questionType='" + questionType + '\'' +
                ", id=" + id +
                '}';
    }
}
